package com.itouch.util;

public class StringUtils {

	/**
	 * ����ַ����Ƿ�Ϊ��
	 * 
	 * @param s
	 * @return true-�գ�false-����
	 */
	public static boolean isNull(String s) {
		if (null == s || "".equals(s.trim())) {
			return true;
		}
		return false;
	}

	public static boolean isEqual(String s1, String s2) {
		if (isNull(s1) || isNull(s2)) {
			return false;
		}
		if (s1 == s2 || s1.equals(s2)) {
			return true;
		}

		return false;
	}

}
